/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.VipConsume;

public interface VipConsumeDao extends Dao {

    /**
     * Retrieves all of the vipConsumes
     */
    public List getVipConsumes(VipConsume vipConsume);

    /**
     * Gets vipConsume's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the vipConsume's id
     * @return vipConsume populated vipConsume object
     */
    public VipConsume getVipConsume(final Integer id);

    /**
     * Saves a vipConsume's information
     * @param vipConsume the object to be saved
     */    
    public void saveVipConsume(VipConsume vipConsume);

    /**
     * Removes a vipConsume from the database by id
     * @param id the vipConsume's id
     */
    public void removeVipConsume(VipConsume vipConsume);
}

